Add fallback to stubs when libusb fondling on Mac fails.
authorrobertl <robertl>
Wed, 19 Dec 2007 17:37:49 +0000 (17:37 +0000)
committerrobertl <robertl>
Wed, 19 Dec 2007 17:37:49 +0000 (17:37 +0000)
configure
configure.in

index fef3a6b5d2ee160742a3034781d695f84b7b192d..1d2b2d2bda4a4e07bf723523ac3ef92a2df3b661 100755 (executable)
--- a/configure
+++ b/configure
@@ -4307,9 +4307,11 @@ fi
                        USB_LIBS="`libusb-config --prefix`/lib/libusb.a -framework  IOKit -framework CoreFoundation"
                        LDFLAGS=$OLDFLAGS
                        CDFLAGS=$OCDFLAGS
+                       OSJEEPS=jeeps/gpslibusb.o
+                   else
+                       OSJEEPS=jeeps/gpsusbstub.o
                  fi
                esac
-               OSJEEPS=jeeps/gpslibusb.o
                CFLAGS="$OCFLAGS"
        #       LIBS="$LIBS `libusb-config --libs`"
            else
index 55e150e3237dfe8214057a5307e016ad51d1686b..69a23b8902ae1da2974e3e0e38ebc6d71b606918 100644 (file)
@@ -184,9 +184,11 @@ case "$target" in
                        USB_LIBS="`libusb-config --prefix`/lib/libusb.a -framework  IOKit -framework CoreFoundation"
                        LDFLAGS=$OLDFLAGS
                        CDFLAGS=$OCDFLAGS
+                       OSJEEPS=jeeps/gpslibusb.o
+                   else
+                       OSJEEPS=jeeps/gpsusbstub.o
                  fi
                esac
-               OSJEEPS=jeeps/gpslibusb.o
                CFLAGS="$OCFLAGS"
        #       LIBS="$LIBS `libusb-config --libs`"
            else